import request from '@/utils/request'


export default () => ({

  //获取七牛token
  GET_QINIU_TOKEN:function () {
    return request({
      url: `/tenant/token`,
      method: 'get',
    })
  },

  //检测文件是否重复
  FILE_IS_EXIST:function (data) {
    return request({
      url: `/file/is-exist`,
      method: 'post',
      data
    })
  },


})
